﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoolCode.Web.UI
{
    public  class PartialView<T, TKey>:Partial<T>
    {
        public virtual void Show(TKey key)
        {
        }

        protected virtual void OnClosing()
        {
            if (Closing != null)
            {
                Closing(this, new EventArgs());
            }
        }

        public event EventHandler Closing;

    }
}
